package com.atguigu.gulimall.order.feign;

import com.atguigu.common.constant.FeignConstant;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(FeignConstant.PROEUCT_SERVICE)
public interface ProductFeignService {
    @GetMapping(FeignConstant.CONTROLLER_PROEUCT_SPUINFO+FeignConstant.METHOD_PROEUCT_SPUINFO_SKUID)
    R getSpuInfoBySkuId(@PathVariable("id") Long id);
}
